using System;
using NUnit.Framework;

namespace Org.JSON.Test.Serialization
{
	[TestFixture]
	public class Number
	{
		[Test]
		public void Integer()
		{
			Assert.AreEqual("10", new Org.JSON.Number(10).Serialize());
		}

		[Test]
		public void Float()
		{
			Assert.AreEqual("1.5E-05", new Org.JSON.Number(1.5e-5).Serialize());
		}
	}
}

